﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IMeiWeiWebService.Models
{
    public class BusinessInfoModel
    {
        public BusinessInfoModel()
        {
            AppDishTypes = new Dictionary<string, string>();
            AppCuisines = new List<TwoLevelClass>();
            SceneOnes = new Dictionary<string, string>();
            SceneTwoes = new Dictionary<string, string>();
            AreaOnes = new Dictionary<string, string>();
            AreaTwoes = new List<TwoLevelClass>();
            BusinessSenderTypes = new Dictionary<string, string>();
        }
        public string BusinessId { get; set; }
        public string BusinessName { get; set; }
        public string BusinessAddress { get; set; }
        public string BusinessPhone { get; set; }
        public string BusinessHours { get; set; }
        public string PercapitaConsumption { get; set; }
        public string RestauranThighLights { get; set; }
        public string FirstOffer { get; set; }
        public string VIPOffer { get; set; }
        public string SenderTypeId { get; set; }
        public string SenderContent { get; set; }
        public bool IsPark { get; set; }
        public bool IsAllelic { get; set; }

        public string PicturePath1 { get; set; }
        public string PicturePath2 { get; set; }
        public string PicturePath3 { get; set; }
        public string PicturePath4 { get; set; }
        public string PicturePath5 { get; set; }

        public string AppDishTypeId { get; set; }
        public string AppCuisineId { get; set; }
        public string SceneOneId { get; set; }
        public string SceneTwoId { get; set; }
        public string AreaOneId { get; set; }
        public string AreaTwoId { get; set; }

        public IDictionary<string, string> AppDishTypes { get; set; }
        public IList<TwoLevelClass> AppCuisines { get; set; }
        public IDictionary<string, string> SceneOnes { get; set; }
        public IDictionary<string, string> SceneTwoes { get; set; }
        public IDictionary<string, string> AreaOnes { get; set; }
        public IList<TwoLevelClass> AreaTwoes { get; set; }
        public IDictionary<string, string> BusinessSenderTypes { get; set; }
    }

    public class TwoLevelClass
    {
        public TwoLevelClass()
        {
            KeyValues = new Dictionary<string, string>();
        }
        public string Id { get; set; }

        public IDictionary<string, string> KeyValues { get; set; }
    }
}